home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ Win2K Debug 1.xpl
< prev
next >
Wrap
Text File
|
2001-04-26
|
2KB
|
74 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="3"
"UIPATH"="System\Debugging"
"NAME"="Windows 2K/XP Debugging Options"
"VERSION"="1.62"
"OSVERSION"="000101"
"LANGUAGE"="VBScript"
"TEXT 1"="Log User Environment activity"
"TEXT 2"="Log Remote Boot activity/IntelliMirror activity"
"TEXT 3"="Log Application Management/MSI activity
"DESCRIPTION 1"="Windows 2000 can be configured to log several activities to the Application log (viewable through Event Viewer) for troubleshooting."
"DESCRIPTION 2"=" "
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="http://support.microsoft.com/support/kb/articles/Q186/4/54.asp"
sP="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Diagnostics\"
sV1="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Diagnostics\RunDiagnosticLoggingGlobal"
sV2="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Diagnostics\RunDiagnosticLoggingIntelliMirror"
sV3="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Diagnostics\RunDiagnosticLoggingAppDeploy"
Sub Plugin_Initialize
i=RegReadValue(sV1)
if i=1 then setuielement 1,true
i=RegReadValue(sV2)
if i=1 then setuielement 2,true
i=RegReadValue(sV3)
if i=1 then setuielement 3,true
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(1)=true then
Call RegWriteValue(sV1,1,2)
else
If RegValueExists(sV1) then RegDeleteValue(sV1)
end if
if GetUIElement(2)=true then
Call RegWriteValue(sV2,1,2)
else
If RegValueExists(sV2) then RegDeleteValue(sV2)
end if
if GetUIElement(3)=true then
Call RegWriteValue(sV3,1,2)
else
If RegValueExists(sV3) then RegDeleteValue(sV3)
end if
' if GetUIElement(4)=true then
' Call RegWriteValue(sV4,1,2)
' else
' If RegValueExists(sV4) then RegDeleteValue(sV4)
' end if
i=RegEnumValues(sP)
if i=0 then RegDeletePath(sP)
Call Logoff()
End Sub
Sub Plugin_Terminate
End Sub